Jump to content

Trigonometric functions of matrices

From Wikipedia, the free encyclopedia

The trigonometric functions (especially sine and cosine) for complex square matrices occur in solutions of second-order systems of differential equations.[1] They are defined by the same Taylor series that hold for the trigonometric functions of complex numbers:[2]

with Xn being the nth power of the matrix X, and I being the identity matrix of appropriate dimensions.

Equivalently, they can be defined using the matrix exponential along with the matrix equivalent of Euler's formula, eiX = cos X + i sin X, yielding

For example, taking X to be a standard Pauli matrix,

one has

as well as, for the cardinal sine function,

Properties

[edit]

The analog of the Pythagorean trigonometric identity holds:[2]

If X is a diagonal matrix, sin X and cos X are also diagonal matrices with (sin X)nn = sin(Xnn) and (cos X)nn = cos(Xnn), that is, they can be calculated by simply taking the sines or cosines of the matrices's diagonal components.

The analogs of the trigonometric addition formulas are true if and only if XY = YX:[2]

Other functions

[edit]

The tangent, as well as inverse trigonometric functions, hyperbolic and inverse hyperbolic functions have also been defined for matrices:[3]

(see Inverse trigonometric functions#Logarithmic forms, Matrix logarithm, Square root of a matrix)

and so on.

References

[edit]
  1. ^ Gareth I. Hargreaves; Nicholas J. Higham (2005). "Efficient Algorithms for the Matrix Cosine and Sine" (PDF). Numerical Analysis Report. 40 (461). Manchester Centre for Computational Mathematics: 383. Bibcode:2005NuAlg..40..383H. doi:10.1007/s11075-005-8141-0. S2CID 1242875.
  2. ^ a b c Nicholas J. Higham (2008). Functions of matrices: theory and computation. pp. 287f. ISBN 978-0-89871-777-8.
  3. ^ Scilab trigonometry.